import './assets/main.css'

import { createApp } from 'vue'
import App from './App.vue'
import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import router from "@/router/index.js";
import './assets/reset.css'
import zhCn from 'element-plus/es/locale/lang/zh-cn';

// 自定义修改分页器的提示文本
zhCn.el.pagination.goto = "跳转至";
zhCn.el.pagination.total = "共 {total} 条";
zhCn.el.pagination.next = "下一页";
zhCn.el.pagination.prev = "上一页";
zhCn.el.pagination.pagesize = "条";

// 创建 Vue 应用并使用 Element Plus
const app = createApp(App);
app.use(ElementPlus, { locale: zhCn });
app.use(router);
app.mount('#app');

